﻿using System;
using System.Collections.Generic;
using System.Text;

namespace System
{
    public class SortHelper
    {
        /// <summary>
        /// 交换
        /// </summary>
        /// <param name="arr"></param>
        /// <param name="i"></param>
        /// <param name="j"></param>
        public static void Swap(int[] arr, int i, int j)
        {
            int temp = arr[i];
            arr[i] = arr[j];
            arr[j] = temp;
        }
    }
}
